export default function(state, { that, sort }) {
  state.domStack.push({
    type: "delete",
    pageName: that.pageName,
    data: [
      that.$searchDom(state.page.tree[that.pageName], state.aimPath, true),
      sort,
      false,
    ],
    path: state.aimPath,
  });
  state.domStackNum += 1;
  state.aimDom = {};
  state.aimAttrs = {};
  state.aimPath = [];
}
